﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    schema="dbo"
    assembly="Simnova.Collaborate.ServiceContract"
    namespace="Simnova.Collaborate.ServiceContract.DataClasses"
    >
	<class
       name="Product"
       table="product"
       lazy="false"
     >
		<id
           name="productId"
           type="Int32"
           column="productId"
           unsaved-value="0"
           access="field">
			<generator class="identity" />
		</id>
		<property
            name="companyId"
            column="companyId"
            access="field"
            >
		</property>
		<property
            name="name"
            column="name"
            access="field"
            >
		</property>
		<property
            name="description"
            column="description"
            access="field"
            >
		</property>
		<property
            name="createDate"
            column="createDate"
            access="field"
			update="false"
			insert="false"
            >
		</property>
	</class>
</hibernate-mapping>